The Principles of Object-Oriented JavaScript (Paperback)

The Principles of Object-Oriented JavaScript (Paperback)

作者: Nicholas C. Zakas
出版社: No Starch Press
出版在: 2014-02-23
ISBN-13: 9781593275402
ISBN-10: 1593275404
裝訂格式: Paperback
總頁數: 120 頁





內容描述


If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to define any objects in order to write code. But don't be fooled—JavaScript is an incredibly powerful and expressive object-oriented language that puts many design decisions right into your hands. In The Principles of Object-Oriented JavaScript, Nicholas C. Zakas thoroughly explores JavaScript's object-oriented nature, revealing the language's unique implementation of inheritance and other key characteristics. You'll learn:The difference between primitive and reference values What makes JavaScript functions so unique The various ways to create objects How to define your own constructors How to work with and understand prototypes Inheritance patterns for types and objects The Principles of Object-Oriented JavaScript will leave even experienced developers with a deeper understanding of JavaScript. Unlock the secrets behind how objects work in JavaScript so you can write clearer, more flexible, and more efficient code.




相關書籍

企業級Java微服務實戰

作者 [美]肯·芬尼根(Ken Finnigan) 張淵 張坤 譯 張淵 張坤 譯

2014-02-23

細說JavaScript語言

作者 高洛峰 王寶龍 劉滔

2014-02-23

The Lego Mindstorms Robot Inventor Activity Book: A Beginner's Guide to Building and Programming Lego Robots

作者 Benedettelli Daniele

2014-02-23